﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Demo.ServiceContracts
{
    [ServiceContract]
    public interface ICalculatorService
    {
        [OperationContract]
        double Multiplicacion(double a, double b);

        [OperationContract]
        [FaultContract(typeof(DataContracts.DCDemoFault))]
        MessageContracts.SumaResponse Suma(MessageContracts.SumaRequest request);

        [OperationContract(IsOneWay=true)]
        void LogOperation(string message);
    }
}
